from py2neo import Graph

graph = Graph("neo4j+s://6a4e9a3a.databases.neo4j.io", user="neo4j", password="pxv2vsJaXU0BBtht710jXeHy7LLx7zAf2BZ7pgOuSG4")



query = """
MATCH (a)-[r:对应]->(b)
RETURN a, r, b
"""
results = graph.run(query).data()

for result in results:
    print(result)